FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER 545923664@qq.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /thinkRenShi

WORKDIR /thinkRenShi

EXPOSE 8080

ADD ./target/*.jar ./server.jar

CMD sleep 60;java -Djava.security.egd=file:/dev/./urandom -jar server.jar --spring.profiles.active=cloud



